package cn.ronghuanet;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan("cn.ronghuanet.*.mapper")   // 扫描mapper.java所在的包
@ServletComponentScan("cn.ronghuanet.auth.listener")    // 要去扫描cn.ronghuanet.auth.listener下面的component
public class PlatformSystemStartApp {

    public static void main(String[] args) {
        SpringApplication.run(PlatformSystemStartApp.class,args);
    }

}
